/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-09-11 09:58:07
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    //规格型号
    formObj: [
        {
            input: true, //是input
            label: "设备名称", //字段
            prop: "machineName", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备名称不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "设备型号", //字段
            prop: "machineType", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备型号不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "设备编码", //字段
            prop: "machineCode", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备编码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "设备KEY", //字段
            prop: "fId", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '设备KEY不能为空'
            }], //验证
        },
        {
            selects: true, //是input
            label: "远程工具", //字段
            prop: "remoteTool", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '请选择远程工具'
            }], //验证
            options: [
                {
                    label:"TV",
                    value:"TV"
                },
                {
                    label:"XT",
                    value:"XT"
                },
                {
                    label:"向日葵",
                    value:"向日葵"
                },
                {
                    label:"ToDesk",
                    value:"ToDesk"
                },
            ]

        },
        {
            input: true, //是input
            label: "远程号", //字段
            prop: "remoteCode", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '远程号不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "远程密码", //字段
            prop: "remotePassword", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '远程密码不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "控制器厂家", //字段
            prop: "controllerManufacturer", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '控制器厂家不能为空'
            }], //验证
        },
        {
            radio: true, //是input
            label: "是否实施", //字段
            prop: "isImplementation", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options:[{
                label:"是",
                value:"是"
            },{
                label:"否",
                value:"否"
            }],
            rules: [{
                required: false,
                message: '是否实施不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "实施日期", //字段
            prop: "implementationDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
        },
        {
            input: true, //是input
            label: "设备注册码", //字段
            prop: "registrationCode", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '设备注册码不能为空'
            }], //验证
        },
        {
            datePicker: true, //是input
            label: "授权有效期", //字段
            prop: "authorizationDates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
        },
        {
            radio: true, //是input
            label: "是否启用", //字段
            prop: "isUse", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options:[{
                label:"是",
                value:"是"
            },{
                label:"否",
                value:"否"
            }],
            rules: [{
                required: false,
                message: '是否启用不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "经度", //字段
            prop: "deviceLongitude", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '经度不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "纬度", //字段
            prop: "deviceLatitude", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '纬度不能为空'
            }], //验证
        },
        {
            input: true, //是input
            label: "实施人员", //字段
            prop: "userName", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '实施人员不能为空'
            }], //验证
        },
        {
            textarea: true, //是input
            label: "备注", //字段
            prop: "remark", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
        },


    ]
}